<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="keywords" content="互联网信息安全技术手段公共服务平台" />
  <meta name="description" content="互联网信息安全技术手段公共服务平台" />
  <title>互联网信息安全技术手段公共服务平台</title>
<!--   <link rel="icon" href="favicon.ico" /> -->
  <link href="static/css/owl.carousel.css" rel="stylesheet" />
  <link href="static/css/owl.transitions.css" rel="stylesheet" />
  <link href="static/css/owl.theme.css" rel="stylesheet" />
  <link rel="stylesheet" type="text/css" href="static/css/jquery.fancybox.css" media="screen" />
  <link rel="stylesheet" href="static/css/mycss.css" />
  <link rel="stylesheet" href="static/css/bootstrap.min.css" />
  <link rel="stylesheet" href="static/css/style.css">
  <script src="static/js/jquery-3.2.1.min.js"></script>
  <script type="text/javascript" src="static/js/jquery.cookie.js"></script>
  <script src="static/js/laydate/laydate.js"></script>
  <script src="static/js/owl.carousel.js"></script>
  <script src="static/js/jquery.easings.min.js"></script>
  <script type="text/javascript" src="static/js/jquery.fancybox.js"></script>
  <script src="static/js/myjs.js"></script>
  <script src="static/js/lodash.js"></script>
  <script src="static/js/bootstrap.min.js"></script>
  <script src="static/js/bootstrap-paginator.js"></script>
  <script src="static/plugins/layer-v1.9.0/layer/layer.js"></script>
</head>

</head>

<body>
  <div class="center main-box">
    <div class="form-search-box clear">
      <form class="form-inline">
        <div class="form-moren">
          <div class="form-group">
            <label for="companyName">企业名称：</label>
            <input type="text" class="form-control text-box" id="companyName">
          </div>
         <div class="form-group">
            <label for="controctor"> 承建单位： </label>
            <input type="text" class="form-control text-box" id="controctor">
          </div>
          <div class="form-group">
            <label for="address"> 注册地： </label>
            <input type="text" class="form-control text-box" id="address">
          </div>

          <button type="button" class="btn btn-primary" onclick="query(1)">查询</button>
          <button type="button" class="btn btn-warning btn-clear-form">重置</button>
          <button type="button" onclick="exportData()" class="btn btn-primary">导出</button>
          
          <!-- <div class="form-group">
            <label for="formType">表单类型：</label>
            <select class="form-control" id="businessType" name="businessType">
              <option value="" selected>全部</option>
              <option value="1">互联网数据中心业务（不含互联网资源协作）信息安全评测申请表</option>
              <option value="3">ISP业务信息安全管理系统评测申请表</option>
              <option value="2">互联网数据中心业务（仅限互联网资源协作）信息安全评测申请表</option>
              <option value="4">内容分发网络业务信息安全评测申请表</option>
            </select>
          </div>
          -->
        </div>
        <div class="form-more" style="display: block;">
          <!-- <div class="form-group">
            <label for="">自建/租用机房：</label>
            <select class="form-control">
              <option></option>
            </select>
          </div> -->
          <div class="form-group">
            <label for="companyName">表单编号：</label>
            <input type="text" class="form-control text-box" id="formNum">
          </div>

          <div class="form-group">
            <label for="companyName">申请业务：</label>
            <input type="text" class="form-control text-box" id="business">
          </div>
          <div class="form-group">
            <label for="formStatus">表单状态：</label>
            <select class="form-control" id="statue" name="statue">
              <option value="" selected>全部</option>
              <option value="3">退回修改</option>
              <option value="1">未核实</option>
              <option value="2">已核实（未评测）</option>
              <option value="4">评测中</option>
              <option value="7">退回补正</option>
              <option value="8">已补正</option>
              <option value="6">评测未通过</option>
              <option value="5">评测通过</option>
            </select>
          </div> 
          <!-- <div class="form-group">
            <label for="backNum">退回次数：</label>
            <input type="text" class="form-control text-box" id="backNum">
          </div> -->
          <!-- <div class="form-group">
            <label for="productionCompany">生产厂家：</label>
            <input type="text" class="form-control text-box" id="productionCompany">
          </div> -->
          
          <!-- <div class="form-group">
            <label for="time">时长：</label>
            <input type="text" class="form-control text-box" id="time">
          </div>
          <div class="form-group">
            <label for="firstTime1">首次提交时间：</label>
            <input type="text" class="form-control text-box" id="firstTime1" readonly>
          </div>
          <div class="form-group">
            <label for="firstTime2">--至--</label>
            <input type="text" class="form-control text-box" id="firstTime2" readonly>
          </div> -->
        </div>
      </form>
    </div>
    <div class="table-responsive table-box">
      <table class="table table-hover table-bordered">
        <thead>
          <tr>
            <th width="30">序号</th>
            <th width="150">企业名称</th>
            <th width="80">表单编号</th>
            <th width="180">表单名称</th>
            <th width="80">申请业务</th>
            <th width="80">最近提交时间</th>
            <th width="80">表单状态</th>
            <th width="40">注册地</th>
            <th width="100">承建单位</th>
            <th width="40">局址所在地</th>
            <!-- <th width="45">时长</th>
            <th width="50">退回次数</th> -->
            <th width="170">操作</th>
          </tr>
        </thead>
        <tbody id="tread"></tbody>
      </table>
    </div>
    <div class="page-box">
         <div class="total">共&nbsp;
             <span class="num-color" id="total_data"></span>&nbsp;条，总共&nbsp;
             <span class="num-color" id="total_pages"></span>&nbsp;页
         </div>
         <div class="dropdown" id="dropdown">
             <button type="button" class="btn btn-default" data-toggle="dropdown" id="pageNum">
                 <strong>10</strong>条/每页
                 <span class="caret"></span>
             </button>
             <ul class="dropdown-menu">
                 <li>
                     <a href="#"><strong>10</strong>条/每页&nbsp;</a>
                 </li>
                 <li>
                     <a href="#"><strong>30</strong>条/每页&nbsp;</a>
                 </li>
                 <li>
                     <a href="#"><strong>50</strong>条/每页&nbsp;</a>
                 </li>
             </ul>
         </div>
         <div class="page-group">
             <ul id="pageLimit"></ul>
         </div>
         <div class="jump-box">
             <input type="text" class="form-control text-box" id="jump_page">
             <button class="btn btn-primary" onclick="jumpQuery()">跳转</button>
         </div>
     </div>
  </div>
  <div class="modal fade has-header" id="workFlow" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          <h4 class="modal-title">工单流转</h4>
        </div>
        <div class="modal-body">
          <div class="table-responsive">
            <table class="table table-hover table-bordered">
              <thead>
                <tr>
                  <th>用户</th>
                  <th>时间</th>
                  <th>状态</th>
                  <th>原因</th>
                </tr>
              </thead>
              <tbody id="workFlowTread"></tbody>
            </table>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
          </div>
        </div>
      </div>
    </div>
  </div>
  <script type="text/template" id="treadTpl">
    <tr>
      <td class="serial-num">
        <span>
          <%= index %>
        </span>
      </td>
      <td title="<%= companyName %>">
        <%= companyName %>
      </td>
      <td title="<%= formNum %>">
        <%= formNum %>
      </td>
      <td title="<%= formName %>">
        <%= formName %>
      </td>
      <td title="<%= business %>">
        <%= business %>
      </td>
	<td>
        <%= lastSubmitTime %>
      </td>
      <td>
        <%= statueName %>
      </td>
      <td>
        <%= registerProvince %>
      </td>
      <td>
        <%= productionUnit %>
      </td>
      <td>
        <%= houseAddress %>
      </td>
      <td class="handle-group">
        <a class="btn-link operate" id="evalOper_<%= id%>"  style="width: 20%;" href="javascript:showApplication(<%= singleTaskId %>,<%= businessType %>,<%= statue %>)">审核</a>
        <a class="btn-link" id="evalRecord_<%= id%>" style="display:none;width: 20%;" href="javascript:showEval(<%= singleTaskId %>,<%= businessType %>,<%= statue %>)">评测记录</a>
		<a class="btn-link" id="evalResult_<%= id%>" style="display:none;width: 20%;" href="javascript:showResult(<%= singleTaskId %>,<%= businessType %>,<%= statue %>)">评测报告</a>
		<a class="btn-link" id="againEval_<%= id%>" style="display:none;width: 20%;" href="javascript:addTaskAudit(<%=singleTaskId%>, <%=statue%>)">重新提测</a>
	  </td>
    </tr>
  </script>
   <script type="text/template" id="workFlowTreadTpl">
    <tr>
      <td title="<%= userName %>">
        <%= userName %>
      </td>
      <td>
        <%= handleTime %>
      </td>
      <td>
        <%= statue %>
      </td>
      <td>
        <%= reason %>
      </td>
    </tr>
  </script>
</body>
<script src="static/js/module/evalTaskAudit.js" charset="utf-8" type="text/javascript"></script>
<script src="static/js/module/evalDictionary.js" charset="utf-8" type="text/javascript"></script>
</html>